package market_insight

import (
	"context"
	dto "git.mycaigou.com/gfyx/micro-gfyx-api/infrastructure/dto/business_opportunity"
)

type MarketInsightServiceIface interface {
	GetProjectHistogram(ctx context.Context, request *dto.GetProjectHistogramRequest) ([]*dto.HistogramItem, error)
	GetProjectTop20Company(ctx context.Context, request *dto.GetProjectHistogramRequest) ([]*dto.ProjectTopListItem, error)
	GetBidTop20Company(ctx context.Context, request *dto.MarketInsightCommonRequest) ([]*dto.BidTop20CompanyItem, error)
	BidHistogram(ctx context.Context, request *dto.MarketInsightCommonRequest) (*dto.BidHistogramResponse, error)
	LineChart(ctx context.Context, request *dto.MarketInsightCommonRequest) (*dto.LineChartResponse, error)
	CustomerTop10(ctx context.Context, request *dto.MarketInsightCommonRequest) ([]*dto.CustomerTopItem, error)
	CustomerPieChart(ctx context.Context, request *dto.MarketInsightCommonRequest) (*dto.CustomerPieChartResponse, error)
	ClearMarketInsightCache(ctx context.Context) error
}
